<?php
session_start();
include_once("function_right.php");
if(!JudgeUserRight()) return FALSE;
?>
<?php
include_once "function_sec_ids.php";

$in_array['Enabled'] = $_POST['start'];
$in_array['Warning'] = $_POST['warning'];
$in_array['Dev'] = $_POST['dev'];
$in_array['Ip'] = $_POST['ip'];
$in_array['Mask'] = $_POST['mask'];
$in_array['Ports'] = $_POST['ports'];
$in_array['Number'] = $_POST['number'];
$in_array['Syslogd'] = "1";


SetXmlIdsServerInfo($in_array);

echo("<meta http-equiv='refresh'content=0;URL='sec_ids_manage.php'>");
?>
